import {Request, Response} from 'express'
import {get, Controller} from '../decorator'

@Controller("/rights")
export default class RightsController {

    @get("/rightsmanager")
    rightsShow(req: Request, res: Response) {
        res.setHeader('Content-Type', 'text/html; charset=utf-8');
        res.write("管理员权限页面");
        res.write("<a href='javascript:history.back()'>返回</a>")
        res.send();
    }
}
